<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
<div id="app">
    <!--
    for(String a:arr1){
    }
    -->
    <p v-for="a in arr1">{{a}}</p>
    <hr/>
    <!--
        for(int i=1;i<=10;i++){}
    -->
    <b v-for="i in 10">{{i}}&nbsp;</b>
</div>
</body>
</html>
<script src="../js/vue.min.js"></script>
<script>
    new Vue({
        el: '#app',
        data() {
            return {
                arr1: ['西安', '宝鸡', '渭南', '汉中', '安康', '商洛']
            }
        }
    })
</script>
